﻿using SqlSugar;
using System;

namespace NetCore.Model.Enity
{
    /// <summary>
    ///
    ///</summary>
    [SugarTable("sys_menu")]
    public class SysMenu
    {
        /// <summary>
        ///
        ///</summary>
        [SugarColumn(ColumnName = "Menu_Id", IsPrimaryKey = true, IsIdentity = true)]
        public int MenuId { get; set; }

        /// <summary>
        ///
        ///</summary>
        [SugarColumn(ColumnName = "MenuName")]
        public string MenuName { get; set; }

        /// <summary>
        ///
        ///</summary>
        [SugarColumn(ColumnName = "Auth")]
        public string Auth { get; set; }

        /// <summary>
        ///
        ///</summary>
        [SugarColumn(ColumnName = "Icon")]
        public string Icon { get; set; }

        /// <summary>
        ///
        ///</summary>
        [SugarColumn(ColumnName = "Description")]
        public string Description { get; set; }

        /// <summary>
        ///
        ///</summary>
        [SugarColumn(ColumnName = "Enable")]
        public byte? Enable { get; set; }

        /// <summary>
        ///
        ///</summary>
        [SugarColumn(ColumnName = "OrderNo")]
        public int? OrderNo { get; set; }

        /// <summary>
        ///
        ///</summary>
        [SugarColumn(ColumnName = "TableName")]
        public string TableName { get; set; }

        /// <summary>
        ///
        ///</summary>
        [SugarColumn(ColumnName = "ParentId")]
        public int ParentId { get; set; }

        /// <summary>
        ///
        ///</summary>
        [SugarColumn(ColumnName = "Url")]
        public string Url { get; set; }

        /// <summary>
        ///
        ///</summary>
        [SugarColumn(ColumnName = "CreateDate")]
        public DateTime? CreateDate { get; set; }

        /// <summary>
        ///
        ///</summary>
        [SugarColumn(ColumnName = "Creator")]
        public string Creator { get; set; }

        /// <summary>
        ///
        ///</summary>
        [SugarColumn(ColumnName = "ModifyDate")]
        public DateTime? ModifyDate { get; set; }

        /// <summary>
        ///
        ///</summary>
        [SugarColumn(ColumnName = "Modifier")]
        public string Modifier { get; set; }
    }
}